package com.rattsoftware.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.rattsoftware.server.admin.model.Room;
import com.rattsoftware.server.admin.model.exceptions.RattsSecurityException;

@RemoteServiceRelativePath("room")
public interface RoomService extends RemoteService {

	/**
	 * Returns a given Room given the ID.
	 * 
	 * @param roomId
	 *            Id of the Room to retrieve.
	 * @return Room
	 */
	Room getRoom(int roomId) throws RattsSecurityException;
}
